package org.lucky_common.exception;

import org.lucky_common.util.ResponseCode;

public class BusinessException extends RuntimeException{

    private ResponseCode responseCode;
    public BusinessException() {
    }

    public BusinessException(String message) {
        super(message);
    }

    public ResponseCode getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(ResponseCode responseCode) {
        this.responseCode = responseCode;
    }

    public BusinessException(ResponseCode responseCode) {
        this.responseCode = responseCode;
    }
}
